<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>系统欢迎页</title>
    <link rel="icon" href="favicon.ico" type="image/ico">
    <meta name="keywords" content="">
    <meta name="description" content="">
    {sys:load href='admin/css/bootstrap.min.css,admin/css/materialdesignicons.min.css,admin/js/bootstrap-multitabs/multitabs.min.css,admin/css/style.min.css'}
</head>

<body data-theme="1">
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--头部信息-->
        <header class="lyear-layout-header">
            <nav class="navbar navbar-default">


                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#">YIS管理系统</a>
                    </div>

                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li><a href="/admin/index/main" class="multitabs">首页</a></li>

                            {volist name="system_menu" id="menu"}

                            {if condition="isset($menu['son'])"}

                            <li class="dropdown">
                                <a href="{$menu.url}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                    {$menu.title}
                                    <span class="caret"></span>
                                </a>

                                <ul class="dropdown-menu">
                                    {volist name="menu.son" id="son"}

                                    <li><a data-url="{$son.url}" class="multitabs" href="javascript:void(0)">{$son.title}</a></li>
                                    {if condition="isset($son['has_line']) && $son['has_line'] == 1"}
                                        <li role="separator" class="divider"></li>
                                    {/if}

                                    {/volist}
                                </ul>
                            </li>

                            {else /}

                            <li><a href="{$menu.url}" class="multitabs">{$menu.title}</a></li>

                            {/if}

                            {/volist}
                        </ul>
                        <ul class="nav navbar-nav navbar-right">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                    {$Request.session.admin.worker.username} 您好
                                    <span class="caret"></span>
                                </a>
                                <ul class="dropdown-menu">
                                    <li><a href="javascript:openModel('修改资料','/admin/worker/save?id={$Request.session.admin.worker.id}')">修改资料</a></li>
                                    <li role="separator" class="divider"></li>
                                    <li><a href="javascript:void(0)" class="logout">退出登陆</a></li>
                                </ul>
                            </li>

                            <li class="dropdown dropdown-skin">
                                <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                    <i class="mdi mdi-palette"></i> 主题语言
                                </a>
                                <ul class="dropdown-menu dropdown-menu-right" data-stopPropagation="true">
                                    <li class="drop-title"><p>主题</p></li>
                                    <li class="drop-skin-li clearfix">
                                      <span class="inverse">
                                        <input type="radio" name="header_bg" value="1" id="header_bg_1" checked>
                                        <label for="header_bg_1"></label>
                                      </span>
                                        <span>
                                        <input type="radio" name="header_bg" value="2" id="header_bg_2">
                                        <label for="header_bg_2"></label>
                                      </span>
                                        <span>
                                        <input type="radio" name="header_bg" value="3" id="header_bg_3">
                                        <label for="header_bg_3"></label>
                                      </span>
                                        <span>
                                        <input type="radio" name="header_bg" value="4" id="header_bg_4">
                                        <label for="header_bg_4"></label>
                                      </span>
                                        <span>
                                        <input type="radio" name="header_bg" value="5" id="header_bg_5">
                                        <label for="header_bg_5"></label>
                                      </span>
                                        <span>
                                        <input type="radio" name="header_bg" value="6" id="header_bg_6">
                                        <label for="header_bg_6"></label>
                                      </span>
                                        <span>
                                        <input type="radio" name="header_bg" value="7" id="header_bg_7">
                                        <label for="header_bg_7"></label>
                                      </span>
                                        <span>
                                        <input type="radio" name="header_bg" value="8" id="header_bg_8">
                                        <label for="header_bg_8"></label>
                                      </span>
                                    </li>
                                    <li role="separator" class="divider"></li>
                                    <li class="drop-title"><p>语言</p></li>
                                    <li class="drop-skin-li clearfix">
                                        <div class="form-group has-feedback feedback-left">
                                            <select class="form-control" name="lang" size="1">
                                                {volist name='langs' id="lang"}
                                                    <option value="{$lang.tag}" {eq name="$lang.tag" value="$use_lang"} selected {/eq}>{$lang.tag_name}</option>
                                                {/volist}
                                            </select>
                                        </div>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>

            </nav>

        </header>
        <!--End 头部信息-->

        <!--页面主要内容-->
        <main class="lyear-layout-content">

            <div id="iframe-content"></div>

        </main>
        <!--End 页面主要内容-->
    </div>
</div>

{sys:load href='admin/js/jquery.min.js,admin/js/bootstrap.min.js,admin/js/bootstrap-multitabs/multitabs.js,admin/js/index.min.js,admin/lib/layui/layui.js,admin/common.js'}
</body>
</html>
